package com.lxy.code.service;

import com.lxy.common.JsonResult;

/**
 * @author 123
 * @date 2020/6/22 18:04
 * @description
 */
public interface LagouAuthCodeService {

    /**
     * 发送验证码
     * @param email
     * @return
     */
    public boolean  sendCode(String email);

    /**
     * 验证验证码
     * @param email
     * @param code
     * @return
     */
    public JsonResult validateCode(String email, String code);
}
